<?php

/* 
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
    class Home extends CI_Controller{
        
        public function __construct() {
            parent::__construct();
        }
        
        public function index(){
            $data = array(
                    "title" => "Máy giặt thảm công nghiệp Toàn Tâm",
                    "author" => "Võ Phước Toàn");
            $data['data_info']=  array(
                "name"=>"kenny",
                "level"=>"2",
                "email"=>"vptoan142@gmail.com",
                "website" =>"www.giaytoantrung.com",
        
            );
            
            $this->load->view("home_view", $data);
        }
        
        public function data($id){
            echo "data: $id";            
        }
    }
?>